If you've found anything wrong (or have questions), you can reach me at [email protected].
Chapter 1
1.2 Ideals and greatest common divisors
Exercise 1.8
As I is already closed under addition, it's sufficient to show that ∀a∈I,−a∈I implies I is closed under multiplication with any z∈Z and verse versa.
On one hand, the closing under addition property already implies that ∀a∈I,z∈Z+,az∈I by repeatedly adding a for z times. And this can be easily extended to negative number z′∈Z− by repeatedly adding −a for ∣z′∣ times since −a∈I. Simultaneously, by choosing any a∈I, a+(−a)=0∈I, we can deduce that a⋅0=0∈I.
On the other hand, I is an ideal instantly implies ∀a∈I,−a∈I by multiplying a with −1∈Z.
So I is an ideal if and only if all conditions in the question holds.
Exercise 1.9
Observation 1: ∀a′>∣a∣,a′∤a
Observation 2: ∀a∈Z,∣a∣∣a: proof: 1⋅a=a∧(−1)⋅(−a)=a
(a)
Suppose gcd(a,b)=d and gcd(b,a)=d′. By definition of gcd we have d∣a∧d∣b and d′∣a∧d′∣b, thus d∣d′∧d′∣d⇒d=d′
(b)
gcd(a,b)=∣a∣ implies ∣a∣∣b, thus a∣b. When a∣b, we have ∣a∣∣a∧∣a∣∣b. By observation 1 we have gcd(a,b)=∣a∣
(c)
The first equation: Firstly, 0⋅∣a∣=0⇒∣a∣∣0. Secondly, by observation 1 and 2 its easy to show that ∣a∣ is the maximum integer that divides a. So gcd(a,0)=gcd(a,a)=∣a∣.
The second equation: 1∣1∧1∣a and 1 is the only divisor of 1, thus gcd(a,1)=1
(d)
Suppose gcd(ca,cb)=d, by theorem 1.8, there exists integers s,t so that sca+tcb=d, thus sa+tb=cd. We can easily show that ∣c∣d is the minimal value for s′a+t′b for integers s′,t′ by proof of contradiction, thus gcd(a,b)=∣c∣d. So gcd(ca,cb)=∣c∣gcd(a,b).